import 'package:get/get.dart';
import 'package:file_preview/file_preview.dart';
import 'package:zootix/widgets/zt_file_preview.dart';

class ZtFilePreviewController extends GetxController {
  FilePreviewController previewController = FilePreviewController();

  late String filename;
  late String url;
  @override
  void onReady() {
    FilePreview.initTBS(license: '');
    super.onReady();
  }

  void previewFile() {
    Get.to(() => ZtFilePreview());
  }
}
